<?php
$ua = $_SERVER["HTTP_USER_AGENT"];
$android = strpos($ua, 'Android') ? true : false;
$blackberry = strpos($ua, 'BlackBerry') ? true : false;
$iphone = strpos($ua, 'iPhone') ? true : false;
$palm = strpos($ua, 'Palm') ? true : false;
$ipad = strpos($ua, 'iPad') ? true : false;
$ipod = strpos($ua, 'iPod') ? true : false;
$symbian = strpos($ua, 'Symbian') ? true : false;

if ($android || $blackberry || $iphone || $palm  || $pod || $symbian)
{
	header("Location:mob/iphone.html");
	exit();
}
else if($ipad)
{
	header("Location:mob/ipad.html");
	exit();
}

else
{
	header("Location:AutogatorSeller.html");
}
?>
